General Ramified Recurrence is Sound for Polynomial Time
نویسندگان
چکیده
Leivant’s ramified recurrence is one of the earliest examples of an implicit characterization of the polytime functions as a subalgebra of the primitive recursive functions. Leivant’s result, however, is originally stated and proved only for word algebras, i.e. free algebras whose constructors take at most one argument. This paper presents an extension of these results to ramified functions on any free algebras, provided the underlying terms are represented as graphs rather than trees, so that sharing of identical subterms can be exploited.
منابع مشابه
. C C ] 5 J an 2 01 5 On Sharing , Memoization , and Polynomial Time ∗
We study how the adoption of an evaluation mechanism with sharing and memoization impacts the class of functions which can be computed in polynomial time. We first show how a natural cost model in which lookup for an already computed value has no cost is indeed invariant. As a corollary, we then prove that the most general notion of ramified recurrence is sound for polynomial time, this way set...
متن کاملOn Sharing, Memoization, and Polynomial Time (Long Version)
We study how the adoption of an evaluation mechanism with sharing and memoization impacts the class of functions which can be computed in polynomial time. We first show how a natural cost model in which lookup for an already computed value has no cost is indeed invariant. As a corollary, we then prove that the most general notion of ramified recurrence is sound for polynomial time, this way set...
متن کاملOn Sharing, Memoization, and Polynomial Time
We study how the adoption of an evaluation mechanism with sharing and memoization impacts the class of functions which can be computed in polynomial time. We first show how a natural cost model in which lookup for an already computed result has no cost is indeed invariant. As a corollary, we then prove that the most general notion of ramified recurrence is sound for polynomial time, this way se...
متن کاملThe Computational Contents of Ramified Corecurrence
The vast power of iterated recurrence is tamed by data ramification: if a function over words is definable by ramified recurrence and composition, then it is feasible, i.e. computable in polynomial time, i.e. any computation using the first n input symbols can have at most p(n) distinct configurations, for some polynomial p. Here we prove a dual result for coinductive data: if a function over s...
متن کاملHigher-Order Linear Ramified Recurrence
Higher-Order Linear Ramified Recurrence (HOLRR) is a PTIME sound and complete typed lambda caluclus. Its terms are those of a linear (affine) λ-calculus – every variable occurs at most once – extended with a limited recursive scheme on a word algebra. Completeness for PTIME holds by embedding Leivant’s ramified recurrence on words into HOLRR. Soundness is established at all types – and not only...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010